#!/bin/bash
# source /etc/profile
# nginx -g 'daemon off;'
#!/bin/bash

file_path="/data/wwwroot/pinmei/conf"

find $file_path -type f ! -name config.$ACTIVE.js|xargs rm -f

ln -s $file_path/config.$ACTIVE.js $file_path/config.js

nginx -g 'daemon off;'
